// @/api/index.js

import request from '../../common/js/request.js'

module.exports = { // 导出
	// 授权登录
	authUser: async (params) => {
		return await request({
			url: '/Base_Manage/Base_VIPUserInfo/LoginVIPUserInfoByCode',
			data: params,
			method: 'post'
		})
	},

	// 用户登录
	LoginInfoLog: async (params) => {
		return await request({
			url: '/Base_Manage/Base_VIPUserInfo/LoginInfoLog',
			data: params,
			method: 'post'
		})
	},
	// 根据电梯选择参数 获取对应参数列表
	BaseProjectTheDataByDicKey:async (params) => {
		return await request({
			url: '/Base_ProjectManage/Project_DictionaryMain/GetTheDataByDicKey',
			data: params,
			method: 'post'
		})
	},
	// 查井道计算
	ElevatorSampleInfoSuggestValue:async (params) => {
		return await request({
			url: '/Elevator_Manage/Elevator_SampleInfo/GetElevatorSampleInfoSuggestValue',
			data: params,
			method: 'post' 
		})
	},
	// 轿厢面积校验 
	ValidateLiftCarArea:async (params) => {
		return await request({
			url: '/Elevator_Manage/Elevator_LiftCarArea/ValidateLiftCarArea',
			data: params,
			method: 'post' 
		})
	},
	// 加入收藏列表
	Elevator_Temp_QSRMSaveData:async (params) => {
		return await request({
			url: '/Elevator_Manage/Elevator_Temp_QSRM/SaveData',
			data: params,
			method: 'post' 
		})
	},
	// 查看井道详情
	TheDataAndDetail:async (params) => {
		return await request({
			url: '/Elevator_Manage/Elevator_Temp_QSRM/GetTheDataAndDetail',
			data: params,
			method: 'post' 
		})
	},
	// 查看井道详情 不需要token
	TheDataAndDetailForShare:async (params) => {
		return await request({
			url: '/Elevator_Manage/Elevator_Temp_QSRM/GetTheDataAndDetailForShare',
			data: params,
			method: 'post' 
		})
	},
	
	
	
	
}